﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace di4ti
{
public class xiaobin:enemy
    {
        //子类重写父类虚方法
        public override void attack()
        {
            
            Console.WriteLine("小兵发起了攻击");
        }
    }
}
